import configparser
import numpy as np
import copy

# 更改配置文件

conf = configparser.ConfigParser()
filename = "config.ini"
conf.read(filename)
conf['pg1']['table'] = 'rag311'


# 4. 将修改后的配置写回文件
with open('config.ini', 'w') as configfile:
    conf.write(configfile)


